doctype
html
    head
        title #{title}
        include ./includes/head
        script.
            function del(id) {
                console.log(id)
                // 执行删除操作
                $.ajax({
                    url:'/admin/list',
                    type:'DELETE',
                    data:{id:id},
                    dataType: "json",
                    success: function (res) {
                        if (res.success==1){
                            console.log("操作成功!");

                        }else{
                            console.log("操作失败!");
                        }
                    }
                })


            }
    body
        include ./includes/header
        block content
